
<include file="Public/head" />


<link rel="stylesheet" href="__PUBLIC__/Home/css/school_detail.css">

<script src="__PUBLIC__/Home/js/school_detail.js"></script>
      <div class="container">
        <a href="javascript:;" class="btn-info-error">信息纠错</a>
        <ol class="breadcrumb">
          <li><a href="#">首页</a></li>
          <li><a href="#">全国院校库</a></li>
          <li><a href="#">北京</a></li>
          <li><a href="#">本科院校</a></li>
          <li class="active">清华大学</li>
        </ol>
    </div>
    <div class="container clearfix">
        <div class="siderbar">
            <div class="rank">
                <p>第一名 / <span>全国共有<br>501家研究生学院</span></p>
                <blockquote>
                    清华大学是中国拥有院士最多的研究生院之一
                </blockquote>
            </div>
            <div class="news">
                <h3>院校新闻</h3>
                <ul>
                    <foreach name="documentlist" item="vo" key="k">  
                        <eq name="vo.category_id" value="2">
                    <li><i><php>echo $k+1;</php></i><a href="{:U('Article/detail/',array('id'=>$vo[id]))}">{$vo.title|mb_substr=0,12, 'utf-8'}</a><span>{$vo.create_time|date="m/d",###}</span></li>
                    </eq> 
                    </foreach>
                </ul>
            </div>
            <div class="QA">
                <h3>互动问答<a href="#">更多</a></h3>
                <a href="" class="btn-add-question">我要提问</a>
                <p>—— 答案由学校提供，仅供参考   ——</p>
                <ul class="QA-list">
                    <volist name="ask_list" id="vo" >
                    <li>
                        <p class="Qusetion"><i>Q:</i>{$vo.title|mb_substr=0,15, 'utf-8'}<span>{$vo.user_name}|{$vo.timeadd|date="Y-m-d H:i:s",###}</span></p>
                        <p class="Answer"><i>A:</i>{$vo.reply|mb_substr=0,45, 'utf-8'}<span>{$vo.teacher_name}|{$vo.timereply|date="Y-m-d H:i:s",###}</span></p>
                    </li> 
                </volist>
                </ul>
            </div>
        </div>
        <div class="main">
            <div class="article-box">
                <h2>{$category.title}</h2>
                <ul class="article-list">
                  <volist name="list" id="vo">
                    <li><a href="__URL__/detail/id/{$vo.id}/school_id/{$vo.school_id}" target="_blank">{$vo.title}</a><span>{$vo.update_time|date="Y-m-d H:i:s",###}</span></li>
                  </volist>
                </ul>
                  <div class="pagination ">
                      <ul class="clearfix">
                  
                
                  {$page}
                  
                  <!--
                  <li class="actived"><a href="#">1</a></li>
                  <li><a href="#">2</a></li>
                  <li><a href="#">3</a></li>
                  <li><a href="#">4</a></li>
                  <li>...</li>
                  <li><a href="#">5</a></li>
                  <li><a href="#">&raquo;</a></li>
                --></ul>
                <neq name="page" value="    ">
                <form action="__URL__/lists/" method="get"><span class="page-jump">到 <input type="text" name="p"> 页 <input type="submit" value="确定"></span></form>
                </neq>       
                  </div>
                
            </div>
        </div>
    </div>
<div id="modal">
		<div class="modal-overlay"></div>
		 <div class="modal-box" id="modal-question">
		    <!--<form action="__URL__/ask" method="post" >-->
		        <input type="hidden" id="ask_url" value="__MODULE__/School/ask"/>
		        <input type="hidden" id="ask_grade" value=""/>
		        <a href="javascript:void(0);" class="btn-closed">x</a>

		        <h4>我的问题
		            <select name="grade" id="grade-ask">
		                <option value="1">高招问题</option>
		                <option value="2">研究生招生问题</option>
		                <option value="3">艺考生招生问题</option>
		            </select><span>0/50字</span></h4>
		        <textarea name="content" id="ask_content"></textarea>
		        <div style="margin-top: 10px;">
		            <label for="ask_yzm">验证码</label><input type="text" class="captcha" id='ask_yzm'>
		            <img  id="reloadverify" src="{:U('School/verify')}"> 
		            <a href="javascript:reloadcode()">换一张</a>
		            <input type="submit" value="发表问题" class="btn-yes ask-submit" style="vertical-align: baseline">
		        </div>

		    <!--</form>-->
		</div>
	</div>

<script type="text/javascript">
function reloadcode(){
document.getElementById('reloadverify').src =document.getElementById('reloadverify').src+'?'+Math.random();

}
</script>
    <include file="Public/foot" />
  